<template>
    <el-form label-width="150px">
        <div style="display: flex">
            <div class="flex-content">
                <el-form-item label="Working No">
                    {{work.workingNo}}
                </el-form-item>
                <el-form-item label="Date">
                    {{work.startDate}}
                </el-form-item>
            </div>
            <div class="flex-content">
                <el-form-item label="Field/WorkShop">
                    {{work.workingPlaceDesc}}
                </el-form-item>
                <el-form-item label="SuratJalan No">
                    {{work.suratJalanNo}}
                </el-form-item>
                <el-form-item label="Arrange By">
                    {{work.arrangedByDesc}}
                </el-form-item>
            </div>
            <div class="flex-content">
                <el-form-item label="Job Receiver">
                   <div v-for="item in  work.jobReceiverVoList" :key="item.receiverId">{{item.receiverName}}</div>
                </el-form-item>
                <el-form-item label="Wo Status">
                    {{work.woStatusDesc}}
                </el-form-item>
            </div>
        </div>
    </el-form>
</template>

<script>
    export default {
        name: "work-order-show",
        props: {
            work: Object
        }
    }
</script>

<style scoped>

</style>